﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SpotsHub.RouteService.Data
{
    public interface ITimeStamp
    {
        DateTime? LastUpdate { get; set; }
    }

    public class TimeUtility
    {
        public static void UpdateTimeStamp(ITimeStamp o)
        {
            o.LastUpdate = DateTime.UtcNow;
        }
    }
}
